import React, { Component } from 'react'

export default class Son2 extends Component {


    handlerClick = () => {
        this.props.change(100)
    }
    render () {
        return (
            <div>Son2


                <button onClick={this.handlerClick}>  操作 son1 组件的num  </button>
            </div>
        )
    }
}
